<!DOCTYPE html>
<html lang="en">

<body>
	<script
		src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script>
		jQuery('<a>jQuery</a>').attr('href', 'http://www.jquery.com').appendTo(
				'body');
	</script>
</body>

</html>